package sjtu.ist.warehouse4ws.model;

/**
 * CustDomainmodelattr entity. @author MyEclipse Persistence Tools
 */

public class CustDomainmodelattr extends Domainmodelattr implements java.io.Serializable {

	private String id;
	private String enName;
	private String cnName;
	private String description;
	private String cnType;
	private String enType;
	private String typeId;
	private String minVal;
	private String maxVal;
	private Boolean readOnly;
	private Boolean staticstate;
	private Boolean uni;
	private String collectionType;
	private String defaultValue;
	private String domainModelid;
	private String groupId;
	private String versionId;
    private String uid;
	// Constructors

	/** default constructor */
	public CustDomainmodelattr() {
	}

	/** minimal constructor */
	public CustDomainmodelattr(String id, String domainModelid) {
		this.id = id;
		this.domainModelid = domainModelid;
	}

	/** full constructor */
	public CustDomainmodelattr(String id, String enName, String cnName,
			String description, String cnType, String enType, String typeId,
			String minVal, String maxVal, Boolean readOnly,
			Boolean staticstate, Boolean uni, String collectionType,
			String defaultValue, String domainModelid, String groupId,
			String versionId,String uid) {
		this.id = id;
		this.enName = enName;
		this.cnName = cnName;
		this.description = description;
		this.cnType = cnType;
		this.enType = enType;
		this.typeId = typeId;
		this.minVal = minVal;
		this.maxVal = maxVal;
		this.readOnly = readOnly;
		this.staticstate = staticstate;
		this.uni = uni;
		this.collectionType = collectionType;
		this.defaultValue = defaultValue;
		this.domainModelid = domainModelid;
		this.groupId = groupId;
		this.versionId = versionId;
		this.uid=uid;
	}

	public CustDomainmodelattr(Domainmodelattr da) {
		this.id = da.getId();
		this.enName = da.getEnName();
		this.cnName = da.getCnName();
		this.description = da.getDescription();
		this.cnType = da.getCnType();
		this.enType = da.getEnType();
		this.typeId = da.getTypeId();
		this.minVal = da.getMinVal();
		this.maxVal = da.getMaxVal();
		this.readOnly = da.getReadOnly();
		this.staticstate = da.getStaticstate();
		this.uni = da.getUni();
		this.collectionType = da.getCollectionType();
		this.defaultValue = da.getDefaultValue();
		this.domainModelid = da.getDomainModelid();
		this.groupId = da.getGroupId();
		this.versionId = da.getVersionId();
		this.uid=da.getUid();
	}
	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEnName() {
		return this.enName;
	}

	public void setEnName(String enName) {
		this.enName = enName;
	}

	public String getCnName() {
		return this.cnName;
	}

	public void setCnName(String cnName) {
		this.cnName = cnName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCnType() {
		return this.cnType;
	}

	public void setCnType(String cnType) {
		this.cnType = cnType;
	}

	public String getEnType() {
		return this.enType;
	}

	public void setEnType(String enType) {
		this.enType = enType;
	}

	public String getTypeId() {
		return this.typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public String getMinVal() {
		return this.minVal;
	}

	public void setMinVal(String minVal) {
		this.minVal = minVal;
	}

	public String getMaxVal() {
		return this.maxVal;
	}

	public void setMaxVal(String maxVal) {
		this.maxVal = maxVal;
	}

	public Boolean getReadOnly() {
		return this.readOnly;
	}

	public void setReadOnly(Boolean readOnly) {
		this.readOnly = readOnly;
	}

	public Boolean getStaticstate() {
		return this.staticstate;
	}

	public void setStaticstate(Boolean staticstate) {
		this.staticstate = staticstate;
	}

	public Boolean getUni() {
		return this.uni;
	}

	public void setUni(Boolean uni) {
		this.uni = uni;
	}

	public String getCollectionType() {
		return this.collectionType;
	}

	public void setCollectionType(String collectionType) {
		this.collectionType = collectionType;
	}

	public String getDefaultValue() {
		return this.defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getDomainModelid() {
		return this.domainModelid;
	}

	public void setDomainModelid(String domainModelid) {
		this.domainModelid = domainModelid;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getVersionId() {
		return this.versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

}